package com.ruoyi.hospital.domain.vo;

import java.util.List;

/**
 * @author 告醉
 */
public class Tree {
    public Long id;
    public String label;
    public List<Tree> children;

    public Tree(){}

    public Tree(Long id, String label, List<Tree> children) {
        this.id = id;
        this.label = label;
        this.children = children;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }
}
